/**
 *
 */
var fs = require('fs');
var ws = fs.createWriteStream('./write.txt',{
    flags:'a',//append追加
    start:9//指定追加的开始为止
});

ws.write('@','utf8',function(){
    console.log(arguments);
})
ws.write('*','utf8',function(){
    console.log(arguments);
})
//写入并结束
ws.end('0','utf8');
